(SST) ShlWAPI.pas Version 1.08

Developer Reference
PARSEDURL Type Definition
Record/struct used to transmit and store the information extracted from a Uniform Resource Locator (URL) string.
Scope
Global (i.e. variables of this type can be declared in any unit that uses/includes the unit in which it is defined/declared).
Syntax
type tagPARSEDURLA = RECORD
Members/Fields
cbSize [in] A unsigned (32-bit) integer that is used to specify the size (in number of bytes) of the record/structure. Prior to calling the ParseURL function, this member must be set to the size of the record/struct (24 bytes for both versions of the record) by the caller.
pszProtocol [out] Depending on which version of the record/struct is used, a pointer to either a null-terminated ANSI (PARSEDURL & PARSEDURLA) or Unicode (PARSEDURLW) string, that is the protocol (part) of a URL. If the record is used as a parameter in a call to one of the two ParseURL function versions, the function returns a pointer to the beginning of the protocol, in this member.
cchProtocol [out] A unsigned (32-bit) integer that specifies the length, in number of characters, of the string the pszProtocol member points to. If the record is used as a parameter in a call to one of the two ParseURL function versions, the function updates this member. In this case, the returned value is that of the protocol, not including a terminating null-character.
pszSuffix [out] Depending on which version of the record/struct is used, a pointer to either a null-terminated ANSI (PARSEDURL & PARSEDURLA) or Unicode (PARSEDURLW) string, that is the suffix (part) of a URL. If the record is used as a parameter in a call to a ParseURL function, it returns a pointer to the beginning of the suffix, in this member.
cchSuffix [out] A unsigned (32-bit) integer that the ParseURL function sets to the length, in number of character, not including a terminating null-character, of the suffix portion of the URL.
nScheme [out] An unsigned (32- bit) value that represents the URL's scheme. This can be one the URL_SCHEME (i.e. URL_SCHEME_INVALID .. URL_SCHEME_MAXVALUE) values defined in ShlWAPI.pas.
Values
A variable of this type accepts six (6) 32-bit values, amounting to a total of 24 bytes.
Remarks
This record is used predominantly in comjunction with the ParseURL function, which requires passing a variable of this type to the function on call.
Requirements
Unit Declared in ShlWAPI.pas
Library ShlWAPI.dcu/ShlWAPI.obj
See Also
ParseURL.
 
Windows APIs: tagPARSEDURL, PARSEDURL, ParseURL.

Document/Contents version 1.00
Page/URI last updated on 07.12.2023
 
Copyright © Stoelzel Software Technologie (SST) 2010 - 2017
Suggestions and comments mail to:
webmaster@stoelzelsoftwaretech.com